package cn.bellychang.abstractfactory.demo01;

/**
 * @author ChangLiang
 * @date 2020/1/16
 */
public class AccessDataSourceFactory implements IDataSourceFactory {
    @Override
    public IUser createUser() {
        return new AccessUser();
    }

    @Override
    public IDepartment createDepartment() {
        return new AccessDepartment();
    }
}
